// theme = border 时 border-indicator 的高度
$border-indicator-height: 6px;

.drop-wrap {
  position: absolute;
  z-index: 1000;
  padding-top: 12px;
  flex-shrink: 0;
}

.drop-down-body {
  min-width: 120px;
  overflow: hidden;
  color: #1a1a1a;
  white-space: nowrap;
  cursor: default;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 6%);
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 4px 10px 0 rgb(0 0 0 / 6%);
}

.trigger-item{
  position: relative;
  cursor: pointer;
}

.pointer {
  position: absolute;
  z-index: 1000;
  display: block;
  width: 0;
  height: 0;
  filter: drop-shadow(0 2px 12px rgb(0 0 0 / 3%));
  border-color: transparent;
  border-style: solid;
  border-bottom-color: #ebeef5;
  border-width: 8px;
  border-top-width: 0;

  &::after {
    position: absolute;
    top: 1px;
    display: block;
    width: 0;
    height: 0;
    margin-left: -8px;
    content: " ";
    border-color: transparent;
    border-style: solid;
    border-width: 8px;
    border-top-width: 0;
    border-bottom-color: #fff;

  }
}

.drop-wrap__border {
  padding-top: $border-indicator-height;

  .drop-down-body {
    border-radius: 6px;
  }
}

.border-indicator {
  position: absolute;
  top: -1px;
  z-index: 1000;
  height: calc($border-indicator-height + 2px);
  background: #FFF;
  box-sizing: border-box;
  border-left: 1px solid #ebeef5;
  border-right: 1px solid #ebeef5;
}